package com.itheima.多态.接口多态;

public interface Swim {
    void swimming();
}
class Dog implements Swim{
    public void swimming(){
        System.out.println("狗学会了狗刨");
    }
}